Error: Error Renaming File...(due to incorrect pathname).
Error:
Error Renaming File. Cannot rename C:\filename. Cannot find the specified file. Make sure you specify the correct path and filename.
Cause:
In Windows Explorer, trying to rename, move, or delete a file that appears to have an underscore character in the filename causes a file access error. This error occurs if the filename includes extended ANSI characters that Windows Explorer does not recognize because Explorer displays unrecognizable characters as underscores.
Solution:
Rename, move, or delete the file at the MS-DOS command prompt.
1) Open the 'MS-DOS Prompt', and go to the desired directory.
2) Make changes to the filename from the command line, using the appropriate ANSI characters:
NOTE: Consult the ANSI character set to determine which numeric code corresponds to the extended character in the filename.
a) To rename the file, type the following at the MS-DOS prompt, and press ENTER:
RENAME <old> <new>
(where <old> is the original filename, and <new> is the new filename you want to use).
b) To move the file, type the following at the MS-DOS prompt, and press ENTER:
MOVE <filename> <destination>
(where <filename> is the name of the file, and <destination> is the directory to which you want to move the file).
EXAMPLE: To move the file Testing.doc from its current location to the C:\ directory, type the following at the MS-DOS prompt, and press ENTER:
MOVE TESTING.DOC C: c) To delete the file, type the following at the MS-DOS prompt, and press ENTER:
DEL <filename>
(where <filename> is the name of the file you want to delete).
CAUTION: Be careful when deleting in DOS because the version that ships with Windows 95 does NOT have an UNDELETE capability.